<?php


namespace App\Repositories\Application;


use App\Models\Application\Application;
use App\Repositories\BaseRepository;

class ApplicationRepository extends BaseRepository {
    public $eloquentClassName = Application::class;
    
    public function getApplicationByAppId($appId, $where = []) {
        return $this->getQuery()
            ->where('app_id', $appId)
            ->where($where)
            ->first();
    }
}